package com.hxzy.shop.dto.auth.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
public class AccountListReq implements Serializable {
    private static final long serialVersionUID = 4206496658583054142L;

    @ApiModelProperty("当前页")
    @NotNull(message = "当前页不能为空")
    private Integer pageNum;

    @ApiModelProperty("每页的数量")
    @NotNull(message = "每页的数量不能为空")
    private Integer pageSize;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("角色Id")
    private Long roleId;
}
